
PAPER = haha

all: $(PAPER).pdf

encode: $(PAPER).tex
	gpg -c $<

decode: $(PAPER).tex.gpg
	gpg $<


%.pdf : %.tex
	xelatex $<
	bibtex `basename $@ .pdf`
	xelatex $<
	xelatex $<
	evince $@


clean:
	rm *.aux
	rm *.toc
	rm *.bbl
	rm *.blg
	rm *.pdf


